package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.PlanSta;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * @Author 熊冰
 * @Date 2019/11/8 15:06
 * 任务单流程工位
 */
public interface PlanStaMapper {
    //增加
    int insertPlanSta(PlanSta planSta);
    //更新
    int updatePlanSta(PlanSta planSta);
    //查询
    List<PlanSta> queryPlanSta(PlanSta planSta);
    //总数
    int countPlanSta(PlanSta planSta);
    //判重
    int checkPlanSta(PlanSta planSta);
    //删除
    int deletePlanSta(@Param("planStaIds") List<Integer> planStaIds, @Param("dataState") Integer dataState);

}